﻿<%@ Page Title="Bill" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true"
    CodeFile="Cart.aspx.cs" Inherits="Admin_Cart" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <!-- Ten trang web -->
    <div class="title">
        Bill</div>
    <!-- Cac nut -->
    <div class="toolbar">
        <asp:Button Text="Pay selected" runat="server" ID="btnPay" CssClass="multidelete" />
        <asp:Button Text="Delete selected" runat="server" ID="btnDelete" CssClass="multidelete" />
    </div>
    <!-- Danh sach -->
    <table class="list">
        <tr>
            <th class="cid">
                <input type="checkbox" id="chkAll" />
            </th>
            <th class="link">
                Bill number
            </th>
            <th class="id">
                Quantity
            </th>
        </tr>
        <asp:Repeater runat="server" ID="repBill">
            <AlternatingItemTemplate>
                <tr class="even">
                    <td>
                        <input type="checkbox" value='<%#Eval("Ma") %>' name="cid" id="cid" />
                    </td>
                    <td class="link">
                        <a href='EditBill.aspx?cid=<%#Eval("Ma") %>'>
                            <%#Eval("Ma") %></a>
                    </td>
                    <td>
                        <%#Eval("cnt")%>
                    </td>
                </tr>
            </AlternatingItemTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <input type="checkbox" value='<%#Eval("Ma") %>' name="cid" id="cid" />
                    </td>
                    <td class="link">
                        <a href='EditBill.aspx?cid=<%#Eval("Ma") %>'>
                            <%#Eval("Ma") %></a>
                    </td>
                    <td>
                        <%#Eval("cnt")%>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
</asp:Content>
